package com.ylb.rent.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import  com.ylb.rent.entity.ApartmentStuff;

/**
 * 公寓设施Service接口
 * 
 * @author ylb
 * @date 2023-06-29
 */
public interface IApartmentStuffService extends IService<ApartmentStuff>
{
    /**
     * 查询公寓设施
     * 
     * @param id 公寓设施主键
     * @return 公寓设施
     */
    public ApartmentStuff selectApartmentStuffById(Long id);

    /**
     * 查询公寓设施列表
     * 
     * @param apartmentStuff 公寓设施
     * @return 公寓设施集合
     */
    public List<ApartmentStuff> selectApartmentStuffList(ApartmentStuff apartmentStuff);

    /**
     * 新增公寓设施
     * 
     * @param apartmentStuff 公寓设施
     * @return 结果
     */
    public int insertApartmentStuff(ApartmentStuff apartmentStuff);

    /**
     * 修改公寓设施
     * 
     * @param apartmentStuff 公寓设施
     * @return 结果
     */
    public int updateApartmentStuff(ApartmentStuff apartmentStuff);

    /**
     * 批量删除公寓设施
     * 
     * @param ids 需要删除的公寓设施主键集合
     * @return 结果
     */
    public int deleteApartmentStuffByIds(Long[] ids);

    /**
     * 删除公寓设施信息
     * 
     * @param id 公寓设施主键
     * @return 结果
     */
    public int deleteApartmentStuffById(Long id);
}
